import loginFooter from '../compoents/footer';
export default function () {
  return {
    data() {
      return {
        type: 'password'
      }
    },
    components: {
      loginFooter
    },
    methods: {
      passwordView() {
        if (!this.type) {
          this.type = 'password'
        } else {
          this.type = undefined
        }
      }
    }
  }
}
